﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunArts.EasyDevOps.Rcl.Service
{
    /// <summary>
    /// 本地文件服务
    /// </summary>
    public interface ILocalFileService
    {
        /// <summary>
        /// 打开文件
        /// </summary>
        /// <param name="fileFullName"></param>
        /// <returns></returns>
        public Task<KeyValuePair<string, byte[]>> OpenFile(string fileName="");
        /// <summary>
        /// 打开文件夹
        /// </summary>
        /// <returns>key：文件夹路径；value：文件夹内文件</returns>
        public Task<KeyValuePair<string, List<string>>> OpenDir();
    }
}
